package com.cdtu.outtake.dao;

import com.cdtu.outtake.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author : shl
 * @Date 2023/12/20 23:56
 */
public interface UserDao extends JpaRepository<User, Long> {
    User findByPhone(Long phone);
}
//TODO 更改UserDao继承BaseMapper
/*public interface UserDao extends BaseMapper<User> {
    User findByPhone(@Param("phone") Long phone);
}*/
